package com.jiayang.hhotel.bean;

import java.io.Serializable;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/26 0026.
 * 联系人数据类
 */

public class ContactPersonModel implements IModel,Serializable{

    private String name;
    private String department;
    private String canUse;//是否可以使用协议价

    public ContactPersonModel(String name, String department, String canUse) {
        this.name = name;
        this.department = department;
        this.canUse = canUse;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getCanUse() {
        return canUse;
    }

    public void setCanUse(String canUse) {
        this.canUse = canUse;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }
}
